﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Zove.Desktop.Tools
{
    public partial class ExecutableManager : Form
    {
        public ExecutableManager()
        {
            InitializeComponent();
        }

        private void btnAdd_Click(object sender, EventArgs e)
        {
            AddAnExecutableForm form = new AddAnExecutableForm();

            if (form.ShowDialog() == DialogResult.OK)
            {
                this.gvExecutables.Rows.Add(
                    new string[] { form.Label, form.FileName });
            }
        }

        private void btnOk_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
